package 享元模式;

public class FlyWeightTest {
    public static void main(String[] args) {
        TreeNode treeNode1 = new TreeNode(3,4, 享元模式.TreeFactory.getTree("俊俊树","小"));
        TreeNode treeNode2 = new TreeNode(4,5, 享元模式.TreeFactory.getTree("雾凇","大"));

        TreeNode treeNode3 = new TreeNode(6,7, 享元模式.TreeFactory.getTree("傻逼树","是撒"));
    }
}
